package top.psjj.mall.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/*
* 订单请求*/
@Data
public class CreateOrderReq {
    @NotBlank //
    private String receiverName;
    @NotBlank
    private String receiverMobile;
    @NotBlank
    private String receiverAddress;
    @NotNull
    private Integer postage = 0; //运费
    private Integer paymentType = 1; //支付方式

}
